﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Practices.Prism.Events;
using System.Collections.Generic;

namespace Ausy.Silverlight.Survey.Infrastructure.Events
{
        /// <summary>
    /// Evénement pour Naviguer vers une autre URL
    /// </summary>
    public class NavigateEvent : CompositePresentationEvent<NavigateEvent>
    {
        /// <summary>
        /// Uri définit dans l'UriMapper
        /// </summary>
        public string RedirectUri { get; private set; }

        #region Constructors

        /// <summary>
        /// Constructeur par défaut
        /// </summary>
        public NavigateEvent()
        {
            
        }

        /// <summary>
        /// Constructeur par Menu Item
        /// </summary>
        /// <param name="uri">Uri de Navigation</param>
        public NavigateEvent(string uri)
        {
            this.RedirectUri = uri;
           
        }

        #endregion

        
    }
}
